import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /collectionDetail/{id}
 */
export function getCollectionDetailById(params: GetCollectionDetailByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/collectionDetail/${params.id}`, config);
}

export interface GetCollectionDetailByIdParams {
    id: number;
}
